package com.xykj.enterprise.wechat.busi.service.contact;

import com.xykj.enterprise.wechat.core.dao.DepartmentDao;
import com.xykj.enterprise.wechat.core.model.dodb.Department;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author zhouxu
 * @create 2021-04-09 09:11
 */
@Service
public class DepartmentServiceImpl implements DepartmentService {
    @Autowired
    private DepartmentDao departmentDao;

    @Override
    public List<Department> list(String corpid,Integer parentid) {
        return departmentDao.list(corpid,parentid);
    }
}
